package com.base.test.mutual.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * owms返回结果
 * @author yinbangshan
 * @param <T>
 */
@Data
@ApiModel(value = "OWMS公共返回值")
public class OWmsResultRespData<T> implements Serializable{

    private static final String ASK_SUCCESS = "Success";
    private static final Integer CODE_SUCCESS = 0;

    @ApiModelProperty(value = "响应编码 0：代表成功，其他代表存在错误")
    private Integer code;

    @ApiModelProperty(value = "响应消息")
    private String message;

    @ApiModelProperty(value = "响应结果")
    private T data;


}
